#include "rotor.h"

Rotor::Rotor(const ObjectModelPtr& model)
	:	Helix(model){
	this->theta=0;
}


void Rotor::setModelMatrix(){
	this->getParent().setSubModelMatrix();

	glTranslatef(-0.01,-0.655,-0.48);
	glTranslatef(0,0,0.55f);
	glRotatef(theta*180/PI,1,0,0);
	glRotatef(90.0f,0,1,0);
	glScalef(0.7f,0.7f,0.7f);
}

